package com.xbongbong.parent.pojo;


import com.xbongbong.paas.domain.entity.PaasListGroupEntity;
import com.xbongbong.paas.domain.entity.ext.ConditionsEntityExt;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 吴峰
 * @date 2022/07/08 16:51
 */
@Getter
@Setter
@ToString
public class GroupConditionPoJo implements Serializable {


    private static final long serialVersionUID = 2054083839662900995L;


    private List<ConditionsEntityExt> conditionList;

    private List<List<ConditionsEntityExt>> shouldConditionList;

    private PaasListGroupEntity paasListGroupEntity;

    public GroupConditionPoJo() {
        this.conditionList = new ArrayList<>();
        this.shouldConditionList = new ArrayList<>();
    }

    public GroupConditionPoJo(List<ConditionsEntityExt> conditionList, List<List<ConditionsEntityExt>> shouldConditionList) {
        this.conditionList = conditionList;
        this.shouldConditionList = shouldConditionList;
    }

    public GroupConditionPoJo( List<List<ConditionsEntityExt>> shouldConditionList, PaasListGroupEntity paasListGroupEntity) {
        this.paasListGroupEntity = paasListGroupEntity;
        this.shouldConditionList = shouldConditionList;
    }


}
